package com.heima.oopAdvanced.n04abstract;

public class demo {
    public static void main(String[] args) {
        // 编写带有抽象类的标准JavaBean类
        Frog frog = new Frog("青蛙", 2);
        frog.eat();
        frog.drink();
    }
}
